---
title: File Uploader
description: The File Uploader lets your users upload files to the cloud.
themeSource: packages/ui/src/theme/tokens/components/fileUploader.ts
reactSource: packages/react/src/components/Storage/FileUploader/FileUploader.tsx
supportedFrameworks: react
---

import { Fragment } from '@/components/Fragment';
import { getCustomStaticPath } from "@/utils/getCustomStaticPath";

export async function getStaticPaths() {
  return getCustomStaticPath(frontmatter.supportedFrameworks);
}

{/*  `getStaticProps` is required to prevent "Error: getStaticPaths was added without a getStaticProps. Without getStaticProps, getStaticPaths does nothing" */}

export async function getStaticProps() {
  return { props: {} }
}

<Fragment>{({ platform }) => import(`./${platform}.mdx`)}</Fragment>
